{include file="member.header.html"}
{include file="title.html"}
<style>
    .pay_con{ margin:10px; overflow:hidden; text-align:center;text-align:left; background: #fff;}
    .pay_con .succeed{  margin-bottom:10px;  overflow:hidden;padding:0 10px;}
    .pay_con .succeed img{ float:left; width:110px; margin-right:10px;}
    .pay_con .succeed  h4{ margin:25px 0 5px 0; font-size:18px; font-weight:normal;}
    .pay_con .order_info{clear: both;margin: 5px; padding: 10px;}
    .pay_con .order_info p{ font-size:14px; font-weight:bold; margin:5px 0;color: #8f8f8f;}
    .pay_con .order_info span{ color:#b20005;margin-right: 10px;}
    .pay_con .buy{margin-bottom:10px;}
    .pay_con .buy .pay_way p{vertical-align:middle; height:50px; line-height:50px;}
    .pay_con .buy .pay_way p .radio{}
    .pay_con .buy .pay_way dt{padding:6px 10px; font-size:14px; margin:5px 0;border-bottom: 1px solid #e0e0e0; font-weight:bold; color:#444;}
    .pay_con .buy .pay_way dd{padding:6px 10px;margin:5px 0; border-bottom:#ddd dashed 1px; overflow:hidden;}
    .pay_con .buy .pay_way dd:last-child{ border:none;}
</style>  
<form action="index.php?app=cashier&act=goto_pay&order_id={$order.order_id}" method="POST" id="goto_pay">
    <!---------选择付款方式----------->
    <div class="pay_con">
        <div class="succeed">
            <img src="{res file=images/clue_on.gif}"/>
            <h4>{$lang.order_created}</h4>
            <p>{$lang.order_created_desc}</p>
        </div>
        <div class="order_info">
            <p>{$lang.order_sn}：<span>{$order.order_sn}</span>
            {$lang.order_amount}：<span>{$order.order_amount|price}</span></p>
        </div>
        <div class="buy">
            <dl class="pay_way">
                <dt><b>{$lang.balance_paid}<span style=" color:#FF4D0F">( {$member_info.money} )&nbsp;</span>{$lang.yuan}</b></dt>
                <dd>
                    <p>
                        <input id="payment_epay" type="radio" name="payment_id" checked="checked" value="0" class="radio"/>
                        <label for="payment_epay"><img src="{res file=images_bk/yuerzhifu.gif}" width="100"/></label>
                    </p>
                </dd>
            </dl>
            <dl class="pay_way">
                <dt>{$lnag.other_expense}</dt>
                <!--{if $payments.online}-->
                <!--{foreach from=$payments.online key=key item=payment}-->
                <dd>
                    <p>
                        <input type="radio" name="payment_id" value="{$payment.payment_id}"  id="payment_{$payment.payment_code}" data-payment_code="{$payment.payment_code}" data-payment_name="{$payment.payment_name|escape}" onclick="$('#selected_payment_code').val($(this).attr('data-payment_code'));$('#selected_payment_name').val($(this).attr('data-payment_name'));" class="radio" />
                        <label for="payment_{$payment.payment_code}">
                            <img src="{$site_url}/includes/payments/{$payment.payment_code}/logo.gif" width="100"/>（{$lang.online_payment}）
                        </label>
                    </p>
                </dd>
                <!--{/foreach}-->
                           
                <!--{/if}-->
                <!--{if $payments.offline}-->

                <!--{foreach from=$payments.offline item=payment}-->
                <dd>
                    <p>
                        <input type="radio" name="payment_id" value="{$payment.payment_id}"  id="payment_{$payment.payment_code}"  data-payment_code="{$payment.payment_code}" data-payment_name="{$payment.payment_name|escape}" onclick="$('#selected_payment_code').val($(this).attr('data-payment_code'));$('#selected_payment_name').val($(this).attr('data-payment_name'));" class="radio"/>
                        <label for="payment_{$payment.payment_code}">
                            <img src="{$site_url}/includes/payments/{$payment.payment_code}/logo.gif" width="100"/>（{$lang.offline_payment}）
                        </label>
                    </p>
                </dd>
                <!--{/foreach}-->
                <!--{/if}-->
				 <input type="hidden" name="payment_code" id="selected_payment_code" />
                 <input type="hidden" name="payment_name" id="selected_payment_name" />
            </dl>                
        </div>
        <a class="red_btn" href="javascript:$('#goto_pay').submit();">{$lang.confirm_pay}</a>
    </div>
</form>
{include file="footer.html"}